package cz.acies.uniql.sql.element;

import cz.acies.uniql.sql.UniQLExpr;

public class UniQLOrderByElement implements java.io.Serializable
{
	private static final long serialVersionUID = -8989930698422102156L;
	
	private UniQLExpr expr;
	private int type;
	
	public UniQLOrderByElement() {}
	
	public UniQLOrderByElement(UniQLExpr expr, int type) {
		this.expr = expr;
		this.type = type;
	}

	/**
	 * @return the expr
	 */
	public UniQLExpr getExpr() {
		return expr;
	}

	/**
	 * @param expr the expr to set
	 */
	public void setExpr(UniQLExpr expr) {
		this.expr = expr;
	}

	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}	
}
